<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>消息详情标题</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../layuiAdmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../layuiAdmin/style/admin.css" media="all">
</head>

<body>

    <div class="layui-fluid" id="LAY-app-message-detail">
        <div class="layui-card layuiAdmin-msg-detail">
            <script type="text/html" template lay-type="get"
                lay-url="{{ layui.setter.baseUrl }}/api/UserMsg/GetUserMsgForm?id={{ layui.$.getParam('id') }}">
        <div class="layui-card-header">
          <h1>{{ d.data.cTitle }}</h1>
            <p>
              <span>{{ d.data.cSenderDate }}</span>
            </p>
        </div>
        <div class="layui-card-body layui-text">
          <div class="layadmin-text">
            {{ d.data.cContent }}
          </div>

            <div style="padding-top: 30px;">
              <a href="javascript:;" layadmin-event="back" class="layui-btn layui-btn-primary layui-btn-sm">返回上级</a>
            </div>
          </div>
      </script>
        </div>
    </div>
    <script src="../../layuiAdmin/layui/layui.js"></script>
    <script>
        layui.config({
            base: '../../layuiAdmin/', //静态资源所在路径
            version: top.layui.setter.version
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index'], function () {
            var $ = layui.$,
                admin = layui.admin;
            admin.req({
                type: 'get',
                url: '/api/UserMsg/MsgReady',
                data: { ids: $.getParam("id") },
                success: function (data) {
                    if (data.code == 200) { }
                }
            })
        });
    </script>
</body>

</html>